var env, theme;

theme = 'config';

env = angular.module('demo.env', []);

env.value({
    version: '1.0.0'
});

env.constant('ENV', {
    appId: 3681,
    hospitalName: '助听器',
    theme: theme,
    api: 'http://139.196.107.71:8080/freeapp/',
    uuid: 3844, //appid
    token: 'd4707c044fad11e6ad1b00163e003943',
    // 轮播图
    guides: [{
        'path': './img/guides/guide-1.png',
        'desc': '',
        'href': ''
    }, {
        'path': './img/guides/guide-2.png',
        'desc': '',
        'href': ''
    }, {
        'path': './img/guides/guide-3.png',
        'desc': '',
        'href': ''
    }, {
        'path': './img/guides/guide-4.png',
        'desc': '',
        'href': ''
    }],

    // home页面数组
    homes: [{
        "id": 1,
        "bool": true,
        "sort": 1,
        "name": "家庭病历",
        "href": "home_emr",
        "img": "img/common/" + theme + "/home/jiatingbingli.png",
        "desc": "快速添加，家人信息一手掌握。"
    }, {
        "id": 2,
        "bool": true,
        "sort": 2,
        "name": "验配预约",
        "href": "home_order",
        "img": "img/common/" + theme + "/home/yanpeiyuyue.png",
        "desc": "一键邀约专家问诊，获取最权威最专业的意见"
    }, {
        "id": 3,
        "bool": true,
        "sort": 3,
        "name": "定时复诊",
        "href": "mine_memorandum",
        "img": "img/common/" + theme + "/home/copy.png",
        "desc": "增加记录，每日提醒再无遗漏。"
    }, {
        "id": 4,
        "bool": true,
        "sort": 4,
        "name": "验配流程",
        "href": "home_process",
        "img": "img/common/" + theme + "/home/yanpeiprocess.png",
        "desc": "简单清晰，按部就班。"
    }, {
        "id": 5,
        "bool": true,
        "sort": 5,
        "name": "免费通话",
        "href": "home_phone",
        "img": "img/common/" + theme + "/home/phoneyue.png",
        "desc": "手机预约，方便快捷。"
    }, {
        "id": 6,
        "bool": true,
        "sort": 6,
        "name": "关于门诊",
        "href": "home_clinic",
        "img": "img/common/" + theme + "/home/menzhen.png",
        "desc": "增加记录，每日提醒再无遗漏。"
    }],


    // 家庭病例图片
    emrs: [{
        "id": 1,
        "bool": true,
        "sort": 1,
        "name": "爷爷奶奶/外公外婆",
        "href": "1",
        "img": "yenai.png",
        "desc": ""
    }, {
        "id": 2,
        "bool": true,
        "sort": 2,
        "name": "爸爸妈妈/岳父岳母",
        "href": "2",
        "img": "bama.png",
        "desc": ""
    }, {
        "id": 3,
        "bool": true,
        "sort": 3,
        "name": "叔叔阿姨",
        "href": "3",
        "img": "shuyi.png",
        "desc": ""
    }, {
        "id": 4,
        "bool": true,
        "sort": 4,
        "name": "自己/爱人",
        "href": "4",
        "img": "ziji.png",
        "desc": ""
    }, {
        "id": 5,
        "bool": true,
        "sort": 5,
        "name": "兄弟姐妹",
        "href": "5",
        "img": "xiongdi.png",
        "desc": ""
    }, {
        "id": 6,
        "bool": true,
        "sort": 6,
        "name": "子女",
        "href": "6",
        "img": "zinv.png",
        "desc": ""
    }],

    // 公告
    mineNotice: true,

    // 我的页面
    mines: [{
        "id": 1,
        "bool": true,
        "sort": 1,
        "name": "我的预约",
        "href": "mine_appointment",
        "img": "img/common/" + theme + "/mine/myappointment.png",
        "desc": "随时随地，大病小情尽在掌握。"
    }, {
        "id": 2,
        "bool": true,
        "sort": 2,
        "name": "消息中心",
        "href": "mine_message",
        "img": "img/common/" + theme + "/mine/message.png",
        "desc": "预约信息，医院消息，及时接收不遗漏。"
    }, {
        "id": 3,
        "bool": true,
        "sort": 3,
        "name": "定时复诊",
        "href": "mine_memorandum",
        "img": "img/common/" + theme + "/mine/copy.png",
        "desc": "增加记录，每日提醒再无遗漏。"
    }, {
        "id": 4,
        "bool": true,
        "sort": 4,
        "name": "收藏专家",
        "href": "mine_collection",
        "img": "img/common/" + theme + "/mine/zhuanjia.png",
        "desc": "在线好医生，您的专属医师库。"
    }, {
        "id": 5,
        "bool": true,
        "sort": 5,
        "name": "分享好友",
        "href": "",
        "event": 'shareAPK()',
        "img": "img/common/" + theme + "/mine/sharefriends.png",
        "desc": "关爱好友，健康无需等待。"
    }, {
        "id": 6,
        "bool": true,
        "sort": 6,
        "name": "设置",
        "href": "mine_setup",
        "img": "img/common/" + theme + "/mine/setup.png",
        "desc": "基础信息尽收眼底"
    }]
});